Bin Packing Algorithm Python Example