delete element from singly linked lists