Increasing the speed of a stepper motor?

I can't quite see how to integrate the examples from AccelStepper with my code. Are there any examples out there showing how to use AccelStepper with code similar to mine shown in the first post?