Adding some comments.
Implementing delete method.
Considering nil value