public boolean undo() {		
		boolean success = false;
		if (!this.undoStack.isEmpty()) {
			Move mov = this.undoStack.getLastElement();
			mov.undo(this.board);			
			this.undoStack.pop();	
			this.turn = this.rules.nextTurn(this.turn, this.board);
			success = true;			
		} else {
			System.err.println("Nothing to undo, please try again");
			success = false;
		}
		return success;
	}