Advent of Code Day 25-State Machines