created lzwstream_base, and started to implement it