add longestPalindrome.cpp