Implementation of the Huffman Coding