Undo Redo Implementation

Prints the undo and redo ArrayDeques on each new input. Undo and Redo
triggered under the menu.