fix warning
add HuffmanTree constructor by symbol value only