LZ77 implemented