Finished Undo functionality. Added gitignore