added endGame working (for now) end game logic