MINHEAP -- wasn't difficult as I had done maxheap :P