Huffman Coding Greedy Method General Method