Create Detect cycle in LinkedList