pipes based on queues
python queue (does not work) and go example