after the first iteration, the accumulator is the returned value of previous iteration
and the current value is the current value of the array being iterated
after the first iteration, the accumulator is the returned value of previous iteration
and the current value is the current value of the array being iterated