the function cacheSolve now returns the cached value without calculating