added scaffold for minheap