Problem with MOSFET in project 09

Arduino Project Book code on github, project book in PDF, and IDE found here: