Implement wrappers for system calls fork() and exit()