added delete to singly linked lists