Copy stuffs from "Example: Huffman Encoding Trees"