Deleting a particular node from singly linked list