Solution to challenge 10 added.