A1 add Deque.java: need testing
A1: add dequeue unit test + fix bugs in dequeue.