input: Write a python function to create a StudentGrades object, store some grades, and retrieve them.
  assert store_and_get_grades('Alice', 90, 'Bob', 85)=={'Alice': 90, 'Bob': 85}
  assert store_and_get_grades('Charlie', 78, 'David', 92)=={'Charlie': 78, 'David': 92}
  assert store_and_get_grades('Eve', 88)=={'Eve': 88}
output: def store_and_get_grades(*args):
      class StudentGrades:
          def __init__(self):
              self.grades = {}
          
          def add_grade(self, name, grade):
              self.grades[name] = grade
          
          def get_grades(self):
              return self.grades
      
      student_grades = StudentGrades()
      for i in range(0, len(args), 2):
          student_grades.add_grade(args[i], args[i+1])
      
      return student_grades.get_grades()