Create patch_code.py