a method to sum all numbers between a number and zero