Writes the following functions : makeCacheMatrix , cacheSolve