Fixing Undo & Starting Redo

Trying to fix the problem when undoing a move object. Started creating
the arrays for redo feature.