LZW Encoder + Decoder