Beginners Guide to Smart Contracts