How to get more PWM Pins on the Arduino Mega?

Stepper motor basics.

Simple stepper motor control code.

Libraries for steppers with step/dir type drivers (like the DRV8825).
AccelStepper (powerful, some learning curve)

MobaTools stepper (easier to learn)