priority queue
ADD TP2 ex1