Deque is fully tested.
Added documentation for Deque.