LZW Encoding