Partial refactoring of MinesweeperGrid.cs