Create stockProblem.cpp

when to buy or sell stocks to maximize profit