Check Priority Queue implementation using Linked List