HuffmanCode written, but not tested.