How cryptocurrencies work (and why they’re so popular)