Mainly a cosmetic change where I played with some more advanced itertools functions. Cleans up some iteration to use functions more directly and avoid list slicing.
Coverage remained the same at 100.0% when pulling b5e241336105a7746b891fa3e811397464aec026 on eliotwrobson:better_itertools into 5987d5d276cf10662956c2266eb088ffd95b9760 on caleb531:develop.
Mainly a cosmetic change where I played with some more advanced itertools functions. Cleans up some iteration to use functions more directly and avoid list slicing.