added display_flights function