input: Write a python function to find the sum of an array of integers.
  assert array_sum([1, 2, 3, 4, 5]) == 15
  assert array_sum([10, -2, 3, 7]) == 18
  assert array_sum([]) == 0
output: def array_sum(arr):
      return sum(arr)