change to class TwoStrings to UnorderedPair