Adding addFunction method to SymbolTable class;