added formatting and documentation to README.md