first implementation of backpack-problem
some updates