Add a solution for the 10th problem \o/