cleaning up the code : added two files (example1.py, example2.py)