added the ability to pause game (press p key)