started implementing the ScopeVisitor
added TypeTableVisitor