Added ex2.py