The story of how pieces of paper became money