Add longest palindrome solution.