completed implementing makeCacheMatrix and cacheSolve functions