add pages for deque_pop_back, deque_pop_front, deque_push_back and deque_push_front.