Add clear() and emptyQueueException() for PQ

Also slight name change of Hashmap to HashMap