Advent of Code 2023: Day 21

Read the problem