Create Knapsack factorial.cpp