update Reservoirsampling test.
add knapsack solution.