finish priority queue with buildheap and insert function
rewrite heap.c file ,Now ,it has only buildheap and check function and work perfectly