v 0.3 heap sort