input: Write a python function to evaluate a polynomial at a given value of x.
  assert evaluate_polynomial([2, 0, 3], 2) == 14  # 2 + 0*2 + 3*2^2
  assert evaluate_polynomial([1, 1, 1, 1], 1) == 4  # 1 + 1*1 + 1*1^2 + 1*1^3
  assert evaluate_polynomial([0, 0, 1], 3) == 9  # 0 + 0*3 + 1*3^2
output: def evaluate_polynomial(coefficients, x):
      result = 0
      for i, coef in enumerate(coefficients):
          result += coef * (x ** i)
      return result