Finished implementing method Combination.takeKFromList.