Define Decision Tree Algorithm Python