minheap - basic insert and delete
homework 7 finished