A C++ Stack Template Class and Demonstration of Its Use