fix bugs in binaryHeap, make it functionally available