topmatch function

A function selecting the dams and sires with the fewest genetic mismatches to an offspring