Wrote Experiment class for running simulations.