Functional del()
Updated del function and solved
Merge branch 'del-function'