Create knapSack.cpp