Implement the code that forks a new process