Added time up and game over functionality