implemented parallel directive in C