Update simon.py

cleaned up first half of code, 90% to go