The simulation of mendelism.