fix bugs.
add Longestpalindromicsubstring.cc