Assignment 2, Randomized Queues and Deques: deque finished