changed getDirectFlightsByUserInput to getRoutesByUserInput and enabled to build arrays for direct flights, indirect flights leg 1, indirect flights leg 2, and a combination of all three under array of array $allRoutes.   To populate $allRoutes, still working on JOIN for indirect leg 1 and leg 2 arrays based on criteria.

https://app.asana.com/0/19128794071925/19594215856460