Create longestpalindromic.cpp