Discrete Event Simulation using R (3): Setting Priority