input: def optimize_objective_function(obj_func):
      """Given an objective function, write a python program to optimize it using scipy's minimize function.
      >>> optimize_objective_function(lambda x: x[0]**2 + x[1]**2 + x[2]**2)
      [0.0, 0.0, 0.0]
      >>> optimize_objective_function(lambda x: (x[0] - 2)**2 + (x[1] - 3)**2 + (x[2] - 4)**2)
      [2.0, 3.0, 4.0]
      """
      def optimize(): 
          x0 = [0.0, 0.0, 0.0] 
          res = minimize(obj_func, x0, method='nelder-mead', options={'xtol': 1e-8, 'disp': True}) 
          return res.x
      return optimize()
output:     def optimize(): 
          x0 = [0.0, 0.0, 0.0] 
          res = minimize(obj_func, x0, method='nelder-mead', options={'xtol': 1e-8, 'disp': True}) 
          return res.x
      return optimize()