Event Scheduling Approach
In the single-server queue, there are only two event types:
1. arrival
2. departure or service completion
State: queue length, status of server
The event scheduling approach consists of the following two phases:
1. advance the clock to the time of the next event,
2. perform the next scheduled event due to happen.