A simple 4 way intersection simulator using queues in Java