Added code to makeCacheMatrix