reworked the alg for find largest sub product to be less greedy and to be more accurate