first implementation of tf-idf
add test