Beginning splitting responsabilities
Adding Semaphores, splitting child process
Changing indentation