C Priority Queue Using Linked List