結果 : detect a cycle in a linked list python