Created functions makeCacheMatrix and cacheSolve.