implementing a deque. only front-delete and rear-delete left
front-delete-deque