Refactored ugly 'run_all' method

Refactored ugly 'run_all' method in ‘Execution’Engine.py’