added an initial definition of the huffman methods