Create maxSumArray.cpp