priority queue example
priority queue example