Quad copter code