Heap.js now correctly returns an object, not an array with that object in it. Huffman.js correspondingly now can call pop() and get the right kind of object.