creating genotype array