priority queue practice problems