C++ Tutorial/STL Algorithms Heap