Added example.py in demo directory
STep 2 in example dev
finished example code