Implementing Pause

In progress of implementing the pause function in game states