Make improvement in Linked List and Priority Queue