Create longestPalindrome