Fix minor issue regarding sum() in docs
Merge pull request #5 from apranav19/fix_sum

Fix minor issue regarding sum() in docs