結果 : algorithm to insert a node at the end of linked list