Project 14

I typed in all the code and when I verify I receive the following error:

Line #1 import does not name the type

What am I missing?

Copy/paste the code here, use Code Tags (the # button). Most of us here have not seen the kits or books that go with them.

What am I missing?

You're missing the fact that you tried to compile Processing (Java) code in the Arduino (C/C++) IDE.