hapSim function

Simulation of genetic data in Haplin format