Accumulates values, starting with initial, and applying operation to each element in the IntList in order.