Create flightcode.py

This will be triggered with flightcode.bash