resolved longest palindrmic substring