Updated with cachematrix and cacheSolve code