adding ex12.py