added tail to singly linked list