Update encode_decode.pl