Palindromic Linked List Leetcode Problem