Add empty() method to PriorityQueue