Update maxSumArray.cpp