Added option -p to read graph data from stdin/pipe
README.md updated according to dc1e4fb.