Added endgame and loser counter.
Added the Timer class