1.30 iterative sum