Accumulates a value starting with initial and applying operation to the current value and each element from left to right.