lab4: basic queuing system