Airline reservation in java