First cut of Queue with cyclic array