Compresses strings with Huffman Coding