accept standard input
Merge pull request #4 from davidchambers/stdin

accept standard input