結果 : algorithm for reversing a singly linked list