MyDeque: now not on a LinkedList (as you wish)