Added Assertions For Pausing

Assertation is true when "p" is pressed and is false when p is not
pressed