FInish longestPalindrome