Arduino Uno with H-bridge

And BTW, don't DC motors use PWM?

They can, but your code doesn't.

lso I have tried the same setup but instead used a 9v battery and the motor still doesn't run

If your motor normally takes C or D cells to move it, I doubt a 9V battery would do very much.

Does this conclude that it is not a problem associated with a voltage drop?

No.