Implemented simulator functions for setting it up. Next step is to implement the simulation algorithm itself.