Create main.c

A very simple function to fork many processes without messing things up.