changed playGame() to runSimulation(). added and deleted whitespace for readability