Possible solution to the exercise proposed in the Aberdeen Python dojo of 26th November 2014.