3.1 Implementation of Class Template Stack