The code

Updated: October 28, 2024

Before we dive into the code, let's look at the major data structures.