I\'m doing a task where I need to create my own queue class, and I created it, however, now I want to reverse the elements inside the queue, I have tried to implement my own