End Game Functions

added functions for the new gamestate "end". the "game over" screen,
etc.