extracting the best departure, arrival time from a given route, current time, dest and current position