Struggling to work out some issues with my code, so I'm going to try some Rubber Duck Debugging.
I don't have a rubber duck handy though, so I'm going to explain my code to Doctor Yellow here. They're the right colour, and their front end is kind of duck bill shaped, so I figure it should work.

