added the code
added example.py; updated README
added requirements.txt