Encode code for huffman tree is done!