find the beginning node of a circular linked list