input: Write a function to sum the elements of an array.
  assert sumArray([1, 2, 3, 4, 5]) == 15
  assert sumArray([10, 20, 30, 40]) == 100
  assert sumArray([-1, -2, -3, -4, -5]) == -15
output: def sumArray(arr):
      return sum(arr)