Updates README.md with fixes

Updates code and fixes minor markdown issues.