made the game end, change state, when the level ends for any reason. added the classes for the endOfLevel state
Merge branch 'master' of https://github.com/kvillert/Grupp1