input: Write a python function to create a class that stores two strings and allows access to them.
  assert TwoStringObject('hello', 'world').str1 == 'hello'
  assert TwoStringObject('hello', 'world').str2 == 'world'
  assert TwoStringObject('foo', 'bar').str1 == 'foo'
  assert TwoStringObject('foo', 'bar').str2 == 'bar'
output: def TwoStringObject(str1, str2):
      class _TwoStringObject:
          def __init__(self, str1, str2):
              self.str1 = str1
              self.str2 = str2
              
      return _TwoStringObject(str1, str2)