changex lzw to use data input/outstreams and string reader/writers