public boolean isCircular(Node n)
	{
		if(n == null)
			return false;
		else
		{
			Node slow = n;
			Node fast = n;
			
			while(fast.next != null)
			{
				slow = slow.next;
				if(fast.next.next == null)
				{
					return false;
				}
				else
				{
					fast = fast.next.next;
				}
				
				if(slow == fast)
				{
					return true;
				}
			}
			
		}	
		return false;	
	}