Made a function to map flights to Cabins to Cabin capacities