Advent of Rust Day 4

In Day 4 we need to look at the characters in a grid and count up the number of occurrences of a word (XMAS) in &ldquo;word search&rdquo; style (can go any direction including diagonals and backwards). Initially, I thought it would be fun to create my own custom iterator that was given a position in the grid and delta x and y values and which yielded each character in that direction until we ran…