input: Write a python function to optimize a given function using scipy.optimize with an initial guess.
  assert optimize_function(lambda x: (x - 3)**2, [0])==[3.0]
  assert optimize_function(lambda x: (x**2 + 2*x + 1), [10])==[-1.0]
  assert optimize_function(lambda x: (x**4 - 3*x**3 + 2), [0])==[2.25]
output: def optimize_function(func, initial_guess):
      from scipy.optimize import minimize
      result = minimize(func, initial_guess)
      return result.x.tolist()