code: function (mineArray, numRows, numCols) {
      var x,
          y,
          grid = [];
  
      for (y = 0; y < numRows; y++) {
        grid[y] = [];
        for (x = 0; x < numCols; x++) {
          grid[y][x] = new Cell(
            x,
            y,
            mineArray[y][x] === 1 ? true : false,
            getNumAdjacentMineCount(mineArray, x, y)
          );
        }
      }
  
      return grid;
    }
docs: Helpers