add some example code about compressing a string with zlib