Create longestPalindrome.cpp