add ex17.py and analyzelog.sh