filterpedigree function

Filter the pedigree to keep only the genealogy of a subset of individuals