Challenge #1

Challenge 1: Set the game up so that pressing 'p' pauses the game and
pressing 'r' resumes the game. You will likely need some extra clocks
and the Pause/Resume/Restart/Stop methods. Ensure that the game
continues to draw even if it is paused.

The frame keeps on rendering even though the game is paused.

p - pause the game
r - resumes the game