add header for minheap
move declearation to header