Huffman compression and decompression