結果 : convert list to priority queue python