Understanding Layer 1 and Layer 2 Blockchains: A Complete Guide