How To Build Statistical Simulation Software