Added the ability to pause the game

Added the ability for a user to use the P key to pause and un-pause the
game.