semi workign need to think about carryCost
think it works
solve 1 works, solve2 no, need to add Solution iobj to solve