adding ex1.py