Implemented timer that counts down
Game ends when timer runs out