cacheSolve function updated.
NOTE: comments missing in code