[2024 Day 13] Calculating Valid Intersections