Refactoring of the tdidf class and added unit test for the tf function