clarify Wilson's algorithm
implement LZW algorithm