add ex1.py, ex2.py, ex3.py, ex4.py