cpp: dynamic multi dimensional array added, algorithm: knapsack and MakeChange pass tests