Decision Tree based Scheduling for Static and Dynamic Flexible Job Shops with Multiple Process