Allow input by stdin
Update README with usage and output info