Update flightSimulator.cpp