Added new `addPassengerAndAssignID' function, which returns an int.