Working on Huffman table generation