updated readme code formatting

fixed up markdown formatting and reorganized the headings to put more important info near the top