The basic implementations of push and pop.
STL, heap, the usage of STL heap.