Code:
I think richie only had a typo in his original code.


True, I didn't spot that one - that's what happens if you don't test properly.

There is also a logic error that I introduced to see if anyone was paying attention \:\/