Create GlobalExit.c

The sys call for wiping down the array after the shell is exited