agnesi wrote
ps. Also, does anyone think I should not be posting these solutions online? If so, I can pull them down. I definitely don't want to spoil the fun for others.
Yes, long term we don't want to have solutions or links to them posted in the forum. It's OK to have them temporarily available so that you can get help.
In a case like this it would be better just to email me directly and you can include your source as attachments.
[I'm a bit busy with work at the moment; it might be a few days before I can look at your code.]
--Mark