Smart Contracts Explained: An Introduction for Beginners