Changes to SequenceMatcher for Diff