add cachematrix.R

ProgrammingAssignment2