Linked List Cycle Python Example