added restart on key c and win that restarts game if you touch  platform class