still working on knapsacksolver