compression.lzw: refactored and simplified
compression.lzw: refactored and simplified

ceninan/factor,mcandre/factor,erg/factor,mcandre/factor,cataska/factor,kingcons/factor,mcandre/factor,ceninan/factor,mcandre/factor,mcandre/factor,cataska/factor,erg/factor,erg/factor,mcandre/factor,erg/factor,mcandre/factor,cataska/factor,littledan/Factor,kingcons/factor,littledan/Factor,erg/factor,kingcons/factor,ceninan/factor,ceninan/factor,erg/factor,kingcons/factor,littledan/Factor,littledan/Factor,erg/factor,cataska/factor