Changed PriorityQueue so that changing the type of heap is easier
additions to java source. Untested, don't expect compilation in current stage
Added skeleton of the sorting class