Created in response to a challenge set by a pupil. Unfinished - I plan on adding a difficulty setting. It's a bit too easy just now.