implementing makeCachematrixc and cacheSolve.