added Knappsack.cpp