Implement the system calls exec, join, exit