Scan a linked list to find existence of a palindrome