text: /**
   * Bin Data Structure
   * To be used in bin packing algorithms.
   */
  class Bin {
    // default graph is direcred & unweighted
    constructor(options = {}) {
      options.capacity = options.hasOwnProperty('capacity') ? options.capacity : 100;
  
      this.items = [];
      this.capacity = options.capacity;
      this.load = 0;
    }
  
    addItem(item) {
      this.items.push(item);
      this.load += item;
    }
  }
  
  module.exports = Bin;
  