accomplish class Stack in /base/Stack.h