added simple gamestates and timer

P to pause