Extending a Python Queue: Example of a Priority Queue