Added some skeleton code for the simulation.