bug in flatfile

was creating haplotype with length n instead of t