Demo PipeReader and PipeWriter and compare with BlockingQueue.