Added makeCacheMatrix function