create decode_order.py to decode the origin code