Adding Max Profit challenge
Made some changes to Max Profit class