add cachematrix.R
Merge branch 'master' of github.com:JohannaWang/ProgrammingAssignment2