added problem 3 on stock prices