implementation for LZ77 which is lossless data compression algorithms published in papers by Abraham Lempel and Jacob Ziv in 1977