Code example for ExecutorService

Methods: isShutdownisTerminatedsubmit