Implemented task 3 and solved delete bug.
Smooth deletion not implemented.