adding longestPalindrome and integerIsPalindrome