1. Array of the Undo Stack
[ Undo, Undo, Undo, Undo ] CurrentState
2. Pressing u
[ Undo, Undo, Undo, CurrentState, Redo ]
3. Press u again
[ Undo, Undo, CurrentState, Redo, Redo ]
4. Press Ctrl + r
[ Undo, Undo, Undo, CurrentState, Redo ]
5. Press a, remove the states after current state
[ Undo, Undo, Undo ] CurrentState