Generates a Decision Tree From a List of Data