Addition of example2.cpp
Addition of zero-initialized buffer.
Implementation of counter mechanism in the node_stack.