fixed _up_heapify and _down_heapify
fixed _up_heapify and _down_heapify

_down_heapify was broken - always trying to swap left child without checking if right child is smaller

jbchouinard/jbnetwork,jeromebchouinard/jbnetwork