add tfidf.py and some test files