Add new functions implementation for ArrayDequeue