finished the game, need to do some commenting and refactoring