Create huffman_encode