The Paleolithic origins of art , its dynamic and topological aspects , and the transition to writing