start writing a generic decision tree classifier