Loading

Report as inappropriate

Yeah, PDF isn't the best way to distribute source code, the problem is when you cut and paste some lines are getting combined with the comments. If you notice at last a couple of variables, some function calls, and some brackets are hiding in the comments.

I cut/pasted and fixed it up. Attached.