Update ex14.py

new version of ex14.py