removed constness from AST visitors / starting to move symbol table
construction out of AST node constructors. Will use the ugly old symbol
table for now. Will start refactoring it once it's extracted from the
AST