Use const in huffman interface
Changed return value of huffman functions