add huffman encoding
clean useless comment