Adding exercise12.py