Removes the first element of the queue and returns its data.
a Queue
the data of the first element in the queue, or null if the queue is empty