DC Motor Controlling at ardiuno?

I’m new here and just a for-fun electronics guy but I’ll give it a shot:

It doesn’t matter whether you connect the motor cable in front of or behind the leg of the diode, the breadboard provides a connection to every ‘hole’ in that column.

I have to admit it took me a minute to wrap my head around your circuit! I re-created it in Fritzing myself to make sure I understood it.