Update longest_palindromic_substring.py