ParallelExecution

Added code for parallel execution.