add ex5.py and json.dumps codes.
add ex6.py and ex7.py