public bool IsSolved(int nrow, int ncol) { int value = this.cells[nrow, ncol]; return this.rowmoves[nrow] == value || this.columnmoves[ncol] == value; }