public void restoreFromMemento(MementoBoard memento) {

		CellState[][] board = new CellState[this.numOfColumns()][this.numOfRows()];
		for (int row = 0; row < this.numOfRows(); ++row) {
			for (int col = 0; col < this.numOfColumns(); ++col) {
				board[col][row] = memento.nextCell();
				;
			}
		}
		this.board = board;
		memento.reset();

	}