Add python code for the LongestNonRepeatingSubstring problem.