PHP Contact Form

How would you add a CAPTCHA option to the PHP contact form shown in this tutorial:
http://www.kirupa.com/web/php_contact_form.htm?