began cleaning up simulation.py
fixed typo in simulation.py