Reverse method reverses elements of a queue
<p>This is not a HW or assignment. This is something i'm practicing myself.</p>

<p>Given a queue, write a  Reverse method reverses elements of a queue. MyQueue remains unchanged.</p>

<p>Signature:</p>

<pre><code>public Queue&lt;T&gt; reverse(Queue&lt;T&gt; myQueue) {
</code></pre>

<p>Note: It is unknown if the Queue is made using nodes or array.</p>

<p>The queue has methods already implemented, that we can use:</p>

<pre><code>void enqueue(T element)
T dequeue();
boolean isFull();
boolean isEmpty();
int size();
</code></pre>
