input: def optimize_code(params: Params) -> dict:
      """Optimization function that takes in a Params class containing three integers a, b, and c.
      The function iterates over a range of values around the given parameters, calculates the
      sum of these new parameters using the get_result function, and returns the parameters
      that result in the highest sum.
      >>> optimize_code(Params(1, 2, 3))
      {'a': 1, 'b': 2, 'c': 3}
      >>> optimize_code(Params(5, 5, 5))
      {'a': 5, 'b': 5, 'c': 5}
      """
output:     best_params = {'a': params.a, 'b': params.b, 'c': params.c}
      best_sum = get_result(params.a, params.b, params.c)
      
      for a in range(params.a - 1, params.a + 2):
          for b in range(params.b - 1, params.b + 2):
              for c in range(params.c - 1, params.c + 2):
                  current_sum = get_result(a, b, c)
                  if current_sum > best_sum:
                      best_sum = current_sum
                      best_params = {'a': a, 'b': b, 'c': c}
      
      return best_params