Completed both makeCacheMatrix and cacheSolve functions.