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