[#42] Added deleteObject to linked list
[#42] No memory leaks