3rd pull request

fixed some weirdly worded sentences
fixed valgrind typos
clarified more on code examples