ex3.py added