[binary heap] replace the example code with C code, next is to remove the problematic code in bheap.hpp