Create cachematrix.R

Code for R Programming ProgrammingAssignment2