title: Program to simulate vehicles at an intersection using queues
body: <p>HI I got this coursework question to solve. </p>
  
  <p>This is the question:</p>
  
  <p>Design a program to simulate vehicles at an intersection.</p>
  
  <p>Assume that there is one lane going in each of four directions, with stoplights facing each direction. Vary the arrival time of vehicles randomly in each direction and set up a regular frequency of the light changes. Run your direction and set up a regular frequency of the light changes. Run your simulation for a set period of time to view the "behaviour" of the intersection. </p>
  
  <p>Coursework Requirement:</p>
  
  <ol>
  <li>Should be coded in java</li>
  <li>Use of proper data structures</li>
  </ol>
  
  <p>If any one has any clue of how to do it, please help; I have no idea.</p>