findFounder function

This function finds the originating member for each line in a pedigree. It is supposed to be used internally by the summarize_pedigree function.