input: Write a python function to create a Dog object, set its name, and retrieve its name.
  assert create_and_get_dog_name("Buddy") == "Buddy"
  assert create_and_get_dog_name("Max") == "Max"
  assert create_and_get_dog_name("Bella") == "Bella"
output: def create_and_get_dog_name(name):
      class Dog:
          def __init__(self, name):
              self.name = name
  
          def get_name(self):
              return self.name
  
      dog = Dog(name)
      return dog.get_name()