First things first: I'm not a programmer. I like to code things but everything is self-taught. Right, so by taking an educated guess I ended up with working code and I figured I'd ask ChatGPT to explain the concept, hoping to see code similar to mine. That didn't quite happen.