Merge pull request #22 from htsai010/master

added correct memory leak code and explanation
Changed order of some sections and removed what was deemed unneeded
forgot one source code re-organizing
wording
wording