Huffman returning value