adding ex17.py and its sample text file