Create pyretic_switch.py