Finding the sum of numbers