Cryptocurrencies and Blockchain: Understanding the Basics