Update misc.cpp

setting up functions for the symbol table to allow easy modification and maintenance of symbol table.