the implementation of max heap and a little test compare with stl priority_queue