Linked List Implementation(detect a loop in a linked list)

Linked List Implementation(detect a loop in a linked list)