Solution to the GE Flight Quest challenge.