Update longest_substring.py