Adding longest palindromic substring