wrote fundamental component of game, and modified the program to be able to play game.