Template:Binary heap operations