More example on pipe and shared memory