Updated min heap implementation. Added min priority queue