adding monitor_pipes.c to test all of IO multiplexing model