Priority Queue Python Example