priority_queue: add str() methods (#18)