Added ex18.py