add finding a loop in a linked list