結果 : algorithm for traversing a circular linked list