On the invention of money