Adds a perl script that generates the usage documentation in README.md.