Implementation of the queue ADT in a circular array