Resolving Decision Tree's Common Mistakes using Python