added longestPalindrom