create inverse functions
Merge branch 'master' of https://github.com/maneesha/ProgrammingAssignment2