See http://oldwww.rasip.fer.hr/research/compress/algorithms/fund/lz/lz78.html
A dictionary look-up compressor that performs best with sets of large repetitive data.
Returns an array.