adding simulator.py file