added demo10.py
made some changes to demo02.py