Added priority queue with custom compare operator.