Code restructuring, support for genotype simulation.

hplex.pl has become hplex_simul.pl, which can now infer genotypes from population data provided with a tped file (as a parameter to the program).
draw_genotypes.r is a script for doing that inference. The code in hplex_simul.pl is also somewhat restructured. Some commends were also added to
extract.pl.