Introduction to Blockchain, Bitcoin and Smart Contracts