Solved BestTimeToBuyAndSellStockIII

Done, finally!