Added support for CSV output

I changed the docstring and updated the README.