Modeling temporal networks using random itineraries - CX-nets