init newmodel branch
use pipe to communicate between producers and consumers
modify test_pipe.c

not using mutex to protect reads from pipe
change structure of main
change filename prefix; add test_pipe to verify feasibility