Initial codes for makeCacheMatrix and cacheSolve functions.