implemented makeCacheMatrix and cacheSolve matrix.