Replaced tabs with spaces in simulator.py