How Does the Blockchain Work?