Okay, updated the code again with an improved version from Richard.

I guess I only get the finder and beginning solution fee, Richard gets the Improved code fee.