Add toString method for printing the dequeue.