Working versions of makeCacheMatrix and cacheSolve