code: def mkBinPacking(w,q):
      
      s = []
      for j in range(len(w)):
          for i in range(q[j]):
              s.append(w[j])
      return s
docs: mkBinPacking: convert a cutting stock instance into bin packing format