Developed both functions and added comments to the 'cacheSolve' function.