fix-longest-palindrome-code-error-in-chapter-01-05

fix-longest-palindrome-code-error-in-chapter-01-05