edit explanatory comments to make codes easy to follow
Merge branch 'master' of https://github.com/vietsing/ProgrammingAssignment2