search and insert support for singly linked list