Added longestPalindrome