There’s a beauty to this little algorithm. I learnt a ton from it. It helped me grasp the nature of nested loops and how to be careful about accessing a loop within its bounds.I still screw up with loops all the time but this process gave me some goo...