pausing function in game

simple pause now works and is bound to the key set in options menu and
settings file