added comments to second function cacheSolve