Implement a method to reverse the contents of a queue using an extension function.
This is a companion discussion topic for the original entry at https://www.raywenderlich.com/11447782-kotlin-whiteboard/lessons/13
Implement a method to reverse the contents of a queue using an extension function.