Undo & Redo

Added the Undo and Redo buttons. Tested the entire code, and its
working.  :)