How Bitcoin and other cryptocurrencies are created