created the function cacheSolve
fixed a typo issue
fixed assign value issue (scope), final