comments improved
code to delete node and free memory during remove
new comments and code