This method returns the first element of this list and deletes it from the list, or null if this list is empty.