Decision tree implemented