Debugged Circular Queue