Task 2 of a test set in 2013 by Evgeny Shadchnev at Makers Academy in London