2-Dimensional Bin Packing Algorithm