Create main.c

one monitor and many worker