Added ex1.py and ex2.py