It's not a complete implementation but enough to understand how blockchains work and how they guarantee that blocks can never be changed.