Finished tree building from symbol frequency dictionary and text file, and huffman code calculation.