Blockchain: Explained from scratch