improve lc longest palindrome substring (O(n^2))