Added pq implementation
Hopefully successfully implemented pq