List Sum Accumulator
[email protected] // 1.0 // type-checkable
Write a class named Accumulator with a method named add.
add takes a list of integers and returns the sum of all numbers in the list and lists previously passed to the same Accumulator.