Cleaning and adding end state

Added an end state when you win (just exit the games now). Also removed
and fixed some code in game1 update, click(), all hitdetection(),
gemHUD, Charcter and