working on huffman module