Create pqueue.c

This file contains the functions of the priority queue implementation