Implemented basic _exit() system call