Added initial code for Huffman compression