Queue implementation with cicular array.