結果 : how to code a priority queue in python