Find the loop point in a linked list with loop. Not working