Control speed and direction of a DC motor

I found this project Arduino Playground - DCMotorControl
it suggests asking in the forum for the correct schematic as the one posted to it is incorrect.

This will be my first project without any help, so if anyone has a correct schematic, it would be greatly appreciated!

reading material

https://www.google.com/search?hl=en&as_q=h-bridge&as_epq=&as_oq=&as_eq=&as_nlo=&as_nhi=&lr=&cr=&as_qdr=all&as_sitesearch=http%3A%2F%2Farduino.cc&as_occt=any&safe=off&tbs=&as_filetype=&as_rights=

This link to a motor driver with relay and PWM. It need a single DPDT relay, a single power MOSFET for the PWM and 3 bipolars for each motor. Motor supply need to higher then 10V or you will need to change the MOSFET to logic level gate MOSFET.

Basically the problem was where the flyback diode was placed. It should be across the motor.
http://www.thebox.myzen.co.uk/Workshop/Motors_1.html

Thanks everyone- looking forward to getting started!

I have made a PWM based DC motor driver with a single relay and two MOSFET. you can not only change the direction but the speed of the dc motor.
You can watch here:
http://my-diysolarwind.blogspot.com/