encode_genotypes function

Encode genotype/SNP variables in data frame