refactor readme

change name to .md

fix formatting for code examples.
Merge pull request #110 from bodepd/refactor_readme

refactor readme