Exercise "Summing up integers to a given limit "