get_generations function

Compute Generational Distances and Kinship Coefficients from a Family Graph