cachematrix solution

this is the cachematrix.R solution of the programming assignmente2