Added example.py

Implemented hello world in example.py