Added more tests and rewrote most of the main game.py file