Advent of Code is now back for a limited time only! Complete as many challenges as you can to earn those badges you may have missed in December. Learn more about how to participate here!
Solution File seems to be working off different specifications than the question poses. Good idea to rewrite the question based on the output wanted. Here is my solution based on the question posed.