Add sum function.
Add benchmarks for n number of arrays.