add methods to class FourExpStack and class SymbolTable