input: Write a python function to create an instance of the MobilePhone class and return its attributes as a dictionary.
  assert create_mobilephone_instance('Apple', 'iPhone 12', 2020, 6.1) == {'brand': 'Apple', 'model': 'iPhone 12', 'year': 2020, 'display_size': 6.1}
  assert create_mobilephone_instance('Samsung', 'Galaxy S21', 2021, 6.2) == {'brand': 'Samsung', 'model': 'Galaxy S21', 'year': 2021, 'display_size': 6.2}
  assert create_mobilephone_instance('OnePlus', '9 Pro', 2021, 6.7) == {'brand': 'OnePlus', 'model': '9 Pro', 'year': 2021, 'display_size': 6.7}
output: class MobilePhone:
      def __init__(self, brand, model, year, display_size):
          self.brand = brand
          self.model = model
          self.year = year
          self.display_size = display_size
  
  def create_mobilephone_instance(brand, model, year, display_size):
      phone = MobilePhone(brand, model, year, display_size)
      return {
          'brand': phone.brand,
          'model': phone.model,
          'year': phone.year,
          'display_size': phone.display_size
      }