Implemented the double knapsack algorithma and added javadoc comments