Functions makeCacheMatrix and cacheSolve for the assignment