This class implements one dimensional bin packing algorithms. It takes an array of values and can determine the next fit, first fit, best fit, worst fit.