input: Write a function to find the maximum value from a list.
  assert max_optimizer([1, 2, 3, 4, 5, 6, 7, 8, 9, 10]) == 10
  assert max_optimizer([10, 20, 45, 67, 84, 93]) == 93
  assert max_optimizer([5, 7, 9, 8, 6, 4, 3]) == 9
output: def max_optimizer(numbers):
      max_value = numbers[0]
      for num in numbers:
          if num > max_value:
              max_value = num
      return max_value