Enhance testing: run all executables

This is an opinionated change; you may not like it.

Add a #! line at the beginning of each of the existing Python programs
and change these files to be executable. This sets the stage for having
the test script blindly run anything that is executable, adding support
for testing many programming languages.