Wrote dequeue. Unit tests are passing.