Modified DecisionTree algorithm to work with Categorical data.