Remove hasNExt() and next() in Deque class
Seems DQ is OK.