created Huffman without logs
added test fro Huffman