reverse linked list & palindrome