public void push(Move m) {
		if (this.numUndo == UndoStack.UNDO_MAX) {
			for(int i = 1; i <= this.numUndo - 1; i++) {
				this.undoStack[i - 1] = this.undoStack[i];
			}
			this.numUndo--;
		}
		this.undoStack[this.numUndo] = m;
		if (this.numUndo < UndoStack.UNDO_MAX) {
			this.numUndo++;
		}
	}