Made the symbol table almost completely reliant on the scope data structure. This was done by rewriting the gettype and settype functions in lex.c