Grid goes 2d array

- The grid is now stored in a two-dimensional array instead of in a list
(why this structure wasn't used from the start is beyond me).
- The game is over if a mine is encountered.