Begin work on checking for redeclaration of variables. So far this seems successful, but there are still problems with detected undeclared variables.