Update array-sum.cpp
Merge pull request #2 from gingerwisl/master

Update array-sum.cpp