isElement in PriorityQueue
merge