Dequeues the head element from the queue.
the node that was removed from the queue.
if the queue is empty.