input: Write a python function to set the name attribute of an instance of MyClass.
  assert set_name(MyClass(), "John").name == "John"
  assert set_name(MyClass(), "Alice").name == "Alice"
  assert set_name(MyClass(), "Bob").name == "Bob"
output: def set_name(instance, name):
      instance.name = name
      return instance