All tests passing for Categorizer._core_algorithm and Categorizer.categorize()