Linked list deletion functionality added