simple stack of c++(push and pop)