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