added __setitem__
implemented delete method
removed mem leak in set method
working but with memory leak
fixed mem leak