Create mutex2.c

This demonstrates mutex implementation with pthreads for resource protection.
Compile : gcc -o mutex2 -g mutex2.c -lpthread