Implemented `undo` (with max. 99 steps), `redo`, `cut`, `copy` and `paste`