6.00.2x-CS-Python: For 2 bags knapsack we can to use ternary system.
6.00.2x-CS-Python: Graphs skeleton.