Pump and stepper motor control

I want to control a stepper motor and a pump. so far I have gotten as far as getting the motor to work and also the ssr for the pump. now i want to get them to work together. I would like for them to start by pushing a button then running for 15 second then pause for 30 one time then run for 10 second then pause for 5 seconds 10 times. I am unsure of how to write the code to for this could anyone help me or point me in the right direction.

this is what i am using

http://www.amazon.com/gp/product/B0057OC6D8/ref=oh_details_o01_s00_i00?ie=UTF8&psc=1

https://www.sparkfun.com/products/10267