Threads Per Block

Day 5 of Advent of Code

This was interesting. I solved it but the code was truly dirty. And I used a shortcut for part 2. But it was fast and effective.

Tried o1 and it gave much cleaner code and I will be using the tips more. Cleaner function split, using enums and structs more, and add more error-checking.