public Board(int nrows, int ncols) { this.nrows = nrows; this.ncols = ncols; this.cells = new char[nrows, ncols]; }