Added psuedocode for process_wait in process.c