title: Add items to the end of a queue
body: <p>How can I take the head of a queue and add items to the end?</p>
  
  <p>I have made a method called add which is</p>
  
  <pre><code>add(Node&lt;E&gt; head, E item) {
  
  }
  </code></pre>
  
  <hr>
  
  <pre><code>class Node&lt;E&gt; {
      E item;
      Node&lt;E&gt; next;
  
      Node(E item, Node&lt;E&gt; next) {
          this.item = item;
          this.next = next;
      }
  }
  </code></pre>