Create maxProfitStockIII.cpp