add sum
Merge pull request #191 from beatgammit/master

add sum