Implemented circular queue