title: modify top element in queue
body: <p>So how can I modify the first element in a queue?</p>
  
  <p>I am working on an assignment where I may or may not add to the queue each time the loop runs. If something is added, it is randomly assigned a number between one and five.</p>
  
  <p>Once something is added, I need to then update the top object each time the loop runs by decrementing by one. Once the object become zero, I will then remove that object.</p>
  
  <p>I pretty much have it all figured out except how to modify/update the top object.</p>
  
  <p>Any advice is appreciated. </p>