stored huffman codes in a map