結果 : algorithm to reverse a linked list