Added binary heap with updates (UpdateKey).