The theory of the motor design is covered in depth here: http://www.allaboutcircuits.com/vol_2/chpt_13/5.html
(most modern steppers are the hybrid sort with neodymium magnets - older motors have ferrite magnets
and are a lot less torquey for the same size)
If you want high-performance (fast speeds) then you need to go to chopper-driven low-inductance bipolar stepper
motors - a lot of these online tutorials don't cover this, note. Unipolar motors with low voltage drivers are limited
to a few hundred rpm or so.
If you don't want to order parts and wait forever just to get your feet wet most inkjet printers and scanners have a unipolar stepper motor in them. It won't have much torque or rpms but is most likely about the same as the cheap stuff on ebay. These motors can be driven with a uln2004a ic which is easily found at mouser.com for about 58 cents. This is a cheap and easy way to get your feet wet in stepper motors.