Made a random number generator class and included it in the game.