Algorithm for reversing order of elements in a queue
Explain code with DocComment! Try out your own code!