Changed win and lose states to end state in game class
Added checkPlayerDeath and checkSideBoundary functions to World