Finds a loop in a LinkedList