create cacheMatrix and companion cacheSolve functions