Added Simulator class with constructor to set up a simulation