add more problem of stock buying
refince code