add function sum
Merge pull request #13 from nvchinh0014/Feature_14366

add function sum