Add function to check loop node in a linkedlist