Implement min-heap binary heap.