This significantly simplifies the main driver loop & mirrors where the code will live.
Attach a file by drag & drop or click to upload