w2 assignment: dequeue