2nd problem: sum of integers