Started writing Huffman coding part