Decision tree impl.