Solution to challenge 13 added.