Expand description
§Aplenty
Each rule is converted into a half open interval, including the start but excluding the end. For example:
x > 10=>10..4001m < 20=>1..20A=>1..4001
For part one if a category is contained in a range, we send the part to the next rule,
stopping when A or R is reached.
For part two we perform range splitting similar to Day 5 that converts the category into
1, 2 or 3 new ranges, then sends those ranges to the respective rule.