Palindrome, linked list remove duplicates