Add linked list and priority queue