title: Arraydeque intermixed operations
body: <p>I want to ask what is the behavior of Arraydeque when add operation, then push. And removing the items. 
  Does the queue remove elements from the head  or the tail. </p>