Added basic methods in Huffman