Check Circular Linked List Leetcode Problem 1