Added 3 new external functions.
Field for priorities is float.
Slightly improved heap queue for when priorities are the same.