LinkedListCycleII accepted and ListNode added as a public class.