input: Write a python function to sum all elements in an array.
  assert SumArray([1, 4, 8, 10, 12]) == 35
  assert SumArray([0, -1, -2, -3, -4]) == -10
  assert SumArray([100, 200, 300]) == 600
output: def SumArray(arr):
      return sum(arr)