autogenerate graph from huffman tree
remove junk