Create makeCacheMatrix and cacheSolve functions based on makeVector and cachemean functions