extended example.py and fixed loading stopwords