Create maximum-subarray.cpp

Be careful about the index to start for normal scan and negative-num scan.