Programming and Autonomous Flight Control