Adding a readme.md file. Correcting misspellings, removing unneeded code and renaming a couple variables.