On the Emergence of Money