LZW encoder in verilog