A discrete event approach for the microsimulation of unsignalized pedestrian crossing