sum_over_array()
This function returns the sum of all elements in an array.
very similar to np.sum() but written myself.
np.sum()
arr – an array or a list
the sum of all elements in the array