Add exercise 17
cleanup for ex17.py