add handleInput() to PauseScreen and complete the game loops functions so that the game can now pause and display the so beautiful pause menu