Genotype class modified to accept any number of alleles