Add ex17.py

Plus various required files.