How the Bitcoin Code Works: A Learner's Guide