Class assigment completed. Every chain that has no more attributes to
split has now a variable called leaf that is assigned to true while
data_class is chosen with majority of entries in the data set