Implementing Circular Queue Using Dynamic Arrays Example