Previously to make a Deque structure the array functions array_shift/unshift/pop/push had to be used instead.
Prethodno su se morale koristiti nizovne funkcije array_shift/unshift/pop/push da bi se napravio deque.