extract words function
minor changes
more work on extract_words
fixed trends.py