makeCacheMatrix and cacheSolve function programmed.