[Cycle List] Detect cycle in linked list solution.