Added 'P' and 'Q' in game functionality.
P pauses and unpauses the game.
Q quits the game.