The final example or optional extra challenge from instalment 87 of the Programming by Stealth series.