add ex3.py file