priority queue impelmentation
add all test case to priority queue