Implement another class that manages the Lema 3.3 data structure. Reference: https://dl.acm.org/doi/pdf/10.1145/3717823.3718179 <img width="619" height="442" alt="Image" src="https://github.com/user-attachments/assets/4c868669-2d07-4c60-bde1-635d2e8c813f" />