A simplified implementation of the LZ77 compression algorithm