/* For the given test sample, your program should produce output that looks like the text below. Each line should correspond to one command in the input file. It should state which process is currently running. If an error occurs, output "error" on that line but ALWAYS state which process is running. Any other output information is optional (but keep it to a minimum so that it does not obscure the readability of the output file.) */ Init is running x is running x is running x is running x is running z is running z is running x is running z is running x is running x is running Init is running Init is running x is running x is running x is running x is running p is running p is running q is running q is running r is running r is running x is running p is running q is running r is running x is running x is running x is running p is running x is running process terminate