Encode separated symbols into variable length using Huffman Encoding method