Sort Priority Queue Python Example Programming