C example for (somewhat) flexibly reading streams of MxN data (like a big matrix) from pipes.