propShared function

Compute proportion of shared alleles