// swap swaps two values.
swap swaps two values.
// swap swaps two values .
func (h *Heap) swap(first, second int) {
	temp := h.values[first]
	h.values[first] = h.values[second]
	h.values[second] = temp
}
func ( h * Heap ) swap ( first , second int ) { temp := h . values [ first ] h . values [ first ] = h . values [ second ] h . values [ second ] = temp }
swap swaps two values.
swap swaps two values .