Decision Tree sequential implementation