Moved Testoutput to HuffmanTree class, and fixed couple of small bugs.