Update to add sum function. There may be a cleaner way of doing this but this appears to work. All unit tests pass, new unit tests added.
Merge pull request #3 from steveklewis/sum

Add sum function. 

There may be a cleaner way of doing this but but this appears to work. All unit tests pass, new unit tests added.