Complete SumOfNumbers class