SequenceMatcher in Python for longest common substring