Zero/One knapsack problem, DP using memory array, pay attention to the initialize of array.