Priority queue creation