CrackCode 2-5: to find the beginning of a loop of a singly linked list