functions added
Merge branch 'master' of https://github.com/DataCorinna/ProgrammingAssignment2