Ruby solution of Developer Test Detect IATA vs ICAO flight numbers