test_varexercise.py bugfix and some pep8
varexercise.py We use globals and locals (values) in exec commands
so it seems to work properly again :-)