Updates README.md with fixes

Updates code and fixes minor markdown issues.
Merge pull request #4 from thrasr/patch-1

Updates README.md with fixes