added insert functions to minheap