getPedMaxAge function

Get the maximum age of live animals in the pedigree.