Understanding Blockchain Technology: A Comprehensive Guide