Creating a Stack Template Class