adding up a column of numbers is for calculating the result