finished poorman_priority_queue