Added a countdown timer. If time runs out, game is over.