Huffman compression / decompression using tree