[feat] added builder for huffman search trees