input: Write a function to compute the sum of an array using numpy.
  assert sum([1, 2, 3, 4]) == 10
  assert sum([10, 20, 30]) == 60
  assert sum([-1, -2, -3]) == -6
output: import numpy as np
  
  def sum(array):
      return np.sum(array)