Finished working on the code generation for the master and worker pragmas