Added lives, score, levels. Added end game screen.

Check the code for improvements.