implemented a greedy algorithm for the Knapsack portion because archiving more than 10gigabytes worth of files can cause massive memory spikes.