add output for HuffmanTree class