added tail node to linked list