add sum method
Merge pull request #17 from nvchinh0014/Demo21

add sum method