flow of lz compression
lz compression code