Exercise 13.11
Suggestions
dequeue! is simpler than enqueue!. It should:
- Check if the queue is empty, giving an error message if it is
- Otherwise, it needs to add one to the start location, making sure to "wrap
the location around" the end of the vector if necessary
Look at how enqueue! increments the tail for an example of "wrapping a
location around" the vector.