first version of decision tree classifier