When the scheduled time is 12.5 and the new estimated time of arrival is 11.5 or earlier, this function will return early. . And, finally for the last possible situation, is that when the time is 9.0, the scheduled time and then you estimated time comes later, this function should return a message saying that the flight is delayed. 