Added the cacheSolve function