converted README to markdown; pep8/flake8 fixes