Added an array deque, needs better commenting and tests