Edit Undo constructor.
Added Redo command in OOP