Setting rpm of stepper motor per minute

#include <CustomStepper.h>

That is not a core library. You need to provide a link.

  if (stepper.isDone() 

  )

The close paren belongs on the same line as the if statement it goes with.

However somehow the delay I use seems to stop the stepper motor completely.

]
Well, of course it does. Why is that a surprise?