Added game over logic if square with mine is hit

If the player clicks on a square with a mine the game will enter
a game over state.