Implement and test Decision Tree.