sum and array of numbers