build.charmatrix function

Internal: create character matrix out of allele list