Lempel-Ziv-Markov chain-Algorithm