a simple td-idf matrix builder. Main purpose is php training