Added huffman-map-sequence and huffman-encode can take an optional map.