fixed the bug in example_1.py
Fixed bugs in example_2.py
Fixed example_3.py
Fixed example_4.py and example_4.png