getIdsWithOneParent function

getIdsWithOneParent extracts IDs of animals pedigree without either a sire or a dam