Check if a linked list is palindrome