added restart game option on gameover. some refactoring.