Completed cachematrix.R with completed functions makeCacheMatrix and cachesolve.