Making it about 10x faster, finding some previously missed cases and fixing some previously wrong corrections. This pulls in the `Collection.windows(ofCount:)` function from Swift Algorithms.