code clean-up in setup.py
fixed sample code in tutorial.md