week 2 : sum of all numbers to n. & average of all numbers to n