Added a Keypad class for user input during the game