solved bug in makeCacheMatrix