Monster Moto Shield Example Code For stepper motor

Hi AlanO

I wonder why this code of Yours is not compiling for a Leonardo board ? could You help me ?
I am a newbie with Arduino and coding - but glancing trough the datasheet of the atmega 32U4 it seems there is no OCR2A and no OCR2B nor is there any TCCR2A or TCCR2B on this chip.
Is it possible to modify Your code to run on my Leonardo-clone ?
Thanks in advance.

I am a Danish guy - My English writing is not error-free. But I'll understand everything You write back.