Insert/ search/ delete in a singly linked list