Let's make a magic pencil that draws polygons when you click your mouse. I've given you some of the code, but you will have to fix it. See the notes for more information.