add two more functions
Merge branch 'master' of https://github.com/AudiencePropensities/ProgrammingAssignment2