Added huffman algorithm