Update travel.pro
see, tell(FILENAME) redirects I/O to that file.
seen, told redirects I/O back to the console.
reconsult(FILENAME) consults predicates in a file, first erasing any previous in-memory clauses of the same functor/arity.
next_id(NEXT) :- retract(current_id(CURRENT)), NEXT is CURRENT + 1, assert(current_id(NEXT)).
save_data :- tell('passenger_data.pro'), listing(passenger), listing(booking),
listing(current_id), told.restore_data :- reconsult(passenger_data).current_id(1000).