Code to simulate one- and two-locus Wright-Fisher simulations and diffusion approximations.