Writing makeCacheMatrix Function