-added Executor class to the part A
-initialized an executor object and created a ThreadPoolExecutor