implementing decision tree learning algorithm
adding classes for attributes and examples